package com.ruoyi.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Administrator
 */
@Data
@ApiModel(value = "登录凭证校验返回数据")
public class Authcode2Session {

    @ApiModelProperty(value = "用户唯一标识")
    private String openid;

    @ApiModelProperty(value = "会话密钥")
    private String session_key;

    @ApiModelProperty(value = "用户在开放平台的唯一标识符")
    private String unionid;

    @ApiModelProperty(value = "错误码")
    private int errcode;

    @ApiModelProperty(value = "错误信息")
    private String errmsg;

    @Override
    public String toString() {
        return "Authcode2SessionDto{" +
                "openid='" + openid + '\'' +
                ", session_key='" + session_key + '\'' +
                ", unionid='" + unionid + '\'' +
                ", errcode=" + errcode +
                ", errmsg='" + errmsg + '\'' +
                '}';
    }
}
